﻿<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<umbPackage>
  <files>
    <file>
      <guid>uForum-CommentsList.xslt</guid>
      <orgPath>/xslt</orgPath>
      <orgName>uForum-CommentsList.xslt</orgName>
    </file>
    <file>
      <guid>uForum-Overview.xslt</guid>
      <orgPath>/xslt</orgPath>
      <orgName>uForum-Overview.xslt</orgName>
    </file>
    <file>
      <guid>uForum-RegisterCSS.xslt</guid>
      <orgPath>/xslt</orgPath>
      <orgName>uForum-RegisterCSS.xslt</orgName>
    </file>
    <file>
      <guid>uForum-TopicsList.xslt</guid>
      <orgPath>/xslt</orgPath>
      <orgName>uForum-TopicsList.xslt</orgName>
    </file>
    <file>
      <guid>uForum.dll</guid>
      <orgPath>/bin</orgPath>
      <orgName>uForum.dll</orgName>
    </file>
    <file>
      <guid>DBInstaller.ascx</guid>
      <orgPath>/usercontrols/uForum/</orgPath>
      <orgName>DBInstaller.ascx</orgName>
    </file>
    <file>
      <guid>NewComment.ascx</guid>
      <orgPath>/usercontrols/uForum/</orgPath>
      <orgName>NewComment.ascx</orgName>
    </file>
    <file>
      <guid>NewForumTopic.ascx</guid>
      <orgPath>/usercontrols/uForum/</orgPath>
      <orgName>NewForumTopic.ascx</orgName>
    </file>
    <file>
      <guid>uForum.js</guid>
      <orgPath>/scripts/uForum/</orgPath>
      <orgName>uForum.js</orgName>
    </file>
    <file>
      <guid>jquery-ui-1.7.1.custom.min.js</guid>
      <orgPath>/scripts/uForum//libs</orgPath>
      <orgName>jquery-ui-1.7.1.custom.min.js</orgName>
    </file>
    <file>
      <guid>add.png</guid>
      <orgPath>/css/uForumImages</orgPath>
      <orgName>add.png</orgName>
    </file>
  </files>
  <info>
    <package>
      <name>uForum</name>
      <version>1.0.0.0b</version>
      <license url="http://www.opensource.org/licenses/mit-license.php">MIT license</license>
      <url>http://uforum.codeplex.com/</url>
      <requirements>
        <major>4</major>
        <minor>1</minor>
        <patch>0</patch>
      </requirements>
    </package>
    <author>
      <name>Morten Bock</name>
      <website>http://www.mortenbock.dk/</website>
    </author>
    <readme><![CDATA[<h1>Important!</h1><p>To install uForum, it is required that you are running <strong>Umbraco 4.1</strong>, and you must be using a <strong>MS SQL</strong> database.</p>]]></readme>
  </info>
  <DocumentTypes>
    <DocumentType>
      <Info>
        <Name>uForum</Name>
        <Alias>uForum</Alias>
        <Icon>.sprTreeFolder</Icon>
        <Thumbnail>folder.png</Thumbnail>
        <Description>
        </Description>
        <AllowedTemplates>
          <Template>ufForum</Template>
        </AllowedTemplates>
        <DefaultTemplate>ufForum</DefaultTemplate>
      </Info>
      <Structure>
        <DocumentType>uForum</DocumentType>
      </Structure>
      <GenericProperties>
        <GenericProperty>
          <Name>Description</Name>
          <Alias>forumDescription</Alias>
          <Type>67db8357-ef57-493e-91ac-936d305e0f2a</Type>
          <Definition>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</Definition>
          <Tab>Forum Information</Tab>
          <Mandatory>False</Mandatory>
          <Validation>
          </Validation>
          <Description><![CDATA[]]></Description>
        </GenericProperty>
        <GenericProperty>
          <Name>Allow new topics</Name>
          <Alias>forumAllowNewTopics</Alias>
          <Type>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</Type>
          <Definition>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</Definition>
          <Tab>Forum Information</Tab>
          <Mandatory>False</Mandatory>
          <Validation>
          </Validation>
          <Description><![CDATA[]]></Description>
        </GenericProperty>
        <GenericProperty>
          <Name>Allow Post Groups</Name>
          <Alias>uForumPostGroups</Alias>
          <Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
          <Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
          <Tab>Forum Information</Tab>
          <Mandatory>False</Mandatory>
          <Validation>
          </Validation>
          <Description><![CDATA[Separate by ",". Use "Authorized" for all logged in members ]]></Description>
        </GenericProperty>
        <GenericProperty>
          <Name>Admin Groups</Name>
          <Alias>uForumAdminGroups</Alias>
          <Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
          <Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
          <Tab>Forum Information</Tab>
          <Mandatory>False</Mandatory>
          <Validation>
          </Validation>
          <Description><![CDATA[Separate by ",".]]></Description>
        </GenericProperty>
      </GenericProperties>
      <Tabs>
        <Tab>
          <Id>6</Id>
          <Caption>Forum Information</Caption>
        </Tab>
      </Tabs>
    </DocumentType>
  </DocumentTypes>
  <Templates>
    <Template>
      <Name>uForum_DisplayTopic</Name>
      <Alias>ufDisplayTopic</Alias>
      <Master>ufForum</Master>
      <Design>
        <![CDATA[<%@ Master Language="C#" MasterPageFile="/masterpages/ufForum.master" AutoEventWireup="true" %>
<%@ Register Src="~/usercontrols/uForum/NewComment.ascx" TagPrefix="uForum" TagName="NewComment" %>
<asp:Content ContentPlaceHolderID="ForumMain" runat="server">

    <umbraco:Macro Alias="uForum-CommentsList" runat="server"></umbraco:Macro>
	<uForum:NewComment runat="server" />
</asp:Content>
]]>
      </Design>
    </Template>
    <Template>
      <Name>uForum_Forum</Name>
      <Alias>ufForum</Alias>
      <Master>ufMaster</Master>
      <Design>
        <![CDATA[<%@ Master Language="C#" MasterPageFile="/masterpages/ufMaster.master" AutoEventWireup="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="uForumMasterContentPlaceHolder" runat="server">
    <div id="content">
        <div id="forum">
	    <umbraco:Macro Alias="uForum-RegisterCSS" runat="server"></umbraco:Macro>
            <asp:ContentPlaceHolder ID="ForumMain" runat="server">
                <h2>
                    <umbraco:Item Field="pageName" runat="server"></umbraco:Item>
                </h2>
                <p>
                    <umbraco:Item Field="forumDescription" recursive="true" runat="server"></umbraco:Item>
                </p>
                <umbraco:Macro Alias="uForum-Overview" runat="server"></umbraco:Macro>
                <umbraco:Macro Alias="uForum-TopicsList" runat="server"></umbraco:Macro>
            </asp:ContentPlaceHolder>
        </div>
    </div>
</asp:Content>]]>
      </Design>
    </Template>
    <Template>
      <Name>uForum_Master</Name>
      <Alias>ufMaster</Alias>
      <Design>
        <![CDATA[<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="head" runat="server">
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>uForum</title>
    </head>
    <body class="uForum">
        <form id="uForumMasterForm" runat="server">
        <div class="main">
            <div class="top">
                <div class="login">
                    <asp:LoginView runat="server">
                        <AnonymousTemplate>
                            <asp:Login runat="server">
                            </asp:Login>
                        </AnonymousTemplate>
                        <LoggedInTemplate>
                            <asp:LoginStatus runat="server" />
                        </LoggedInTemplate>
                    </asp:LoginView>
                </div>
                <h1>Welcome to uForum</h1>
            </div>
            <div class="content">
                <asp:ContentPlaceHolder ID="uForumMasterContentPlaceHolder" runat="server">
                </asp:ContentPlaceHolder>
            </div>
            <div class="footer">
                <p>
                    Powered by uForum</p>
            </div>
        </div>
        </form>
    </body>
    </html>
</asp:Content>
]]>
      </Design>
    </Template>
    <Template>
      <Name>uForum_NewTopic</Name>
      <Alias>ufNewTopic</Alias>
      <Master>ufForum</Master>
      <Design>
        <![CDATA[<%@ Master Language="C#" MasterPageFile="/masterpages/ufForum.master" AutoEventWireup="true" %>
<%@ Register Src="~/usercontrols/uForum/NewForumTopic.ascx" TagPrefix="uForum" TagName="NewTopic" %>
<asp:Content ContentPlaceHolderID="ForumMain" runat="server">
<h2>Create a new topic in '<umbraco:item Field="pageName" runat="server"></umbraco:item>'</h2>
<uForum:NewTopic runat="server" />
</asp:Content>
]]>
      </Design>
    </Template>
  </Templates>
  <Stylesheets>
    <Stylesheet>
      <Name>uForum</Name>
      <FileName>forum</FileName>
      <Content>
        <![CDATA[/* Default master template */

body.uForum{padding: 0px; margin: 0px;}
body.uForum .main{margin: auto; margin-top: 20px; width: 870px;}
body.uForum .top{border-bottom: 1px solid #CED7DE; overflow: hidden; width: 100%;}
body.uForum .top .login{float: right;}
body.uForum .content{text-align: left; margin: auto; padding: 2em 0em 2em 0em;}
body.uForum .footer{padding-top: 5px; clear: both;border-top: 1px solid #CED7DE; text-align:center;}

/* Forum */

#forum table.forumList{ width: 100%; border: none; margin-bottom: 15px; clear: both;}
#forum table.forumList thead{background: #fff; color: #46484B; padding: 5px;}
#forum table.forumList thead th{padding: 3px; border-bottom: #ccc 1px solid; font-size: 90%;}

#forum table.forumList tbody{background: #f7f7f7; font-size: 12px;}
#forum table.forumList tbody th{font-weight: normal; border-bottom: #ccc 1px solid; padding: 15px;}
#forum table.forumList tbody td{border-bottom: #ccc 1px solid; background: #f0f0f0; width: 40%; padding: 15px; }
#forum table.forumList td.replies{width: 70px; text-align: center; background: #F3F3F3}


#forum table.forumList .forumName{font-size: 110%;}
#forum table.forumList .forumStats{font-weight: bold;}
#forum table.forumList .forumDesc{font-weight: normal; color: #333}

#forum table.forumList .forumLastPost{}
#forum table.forumList th.title a{display: block;}

#forum table.commentsList tr{padding-bottom: 10px;}
#forum table.commentsList td{border: none !Important; width: auto !Important; background: #fff;}
#forum table.commentsList tr.spacer td{padding: 15px; background: #fff !Important;}
#forum table.commentsList td.body{background: #fff; padding: 15px; font-size: 12px; color: black !Important; 
border-top: 4px solid #F0F0F0 !Important; vertical-align: top; position: relative; }

#forum table.commentsList tr.toggle td{font-size: 11px; color: #999; padding: 7px 15px 7px 15px;}
#forum table.commentsList tr.hidden{display: none;}

#forum table.commentsList tr.highlighted *{background-color: #F5FBCD}


#forum table.commentsList .gotoSolution, #forum table.commentsList .gotoSolution td{
	background: #fff; text-align: center; padding: 15px;}

#forum table.commentsList .gotoSolution a{color: #8ECA56; font-size: 16px; font-weight: bold;}

#forum table.commentsList td.body *{
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */}


#forum table.commentsList td.author {
color:#333333; font-size:0.9em;
font-weight:bold; min-height:32px; padding:5px 10px;
vertical-align:top; width: 200px !Important; border-top: 4px solid #F0F0F0}


#forum table.commentsList td.author .date{display: block; clear: both; margin-bottom: 10px;}
#forum table.commentsList td.author img.photo{float: left; margin-right: 10px; margin-bottom: 100px;}
#forum table.commentsList td.author span{clear: right; display: block; color: #333333}
#forum table.commentsList td.author div.memberBadge{height: auto !Important; min-height: 200px; height: 200px;}

#forum table.commentsList td.author span.group{padding: 2px; 
background: no-repeat left center; font-size: 12px; display: block; text-transform: capitalize}

#forum table.commentsList td.author span.MVP{color: blue !Important;}
#forum table.commentsList td.author span.Core{color: orange !Important;}
#forum table.commentsList td.author span.admin{color: red !Important;}


#forum table.commentsList .postSolution , 
#forum table.commentsList .postSolution td{	border-top: #8ECA56 solid 4px !Important}
#forum table.commentsList .postSolution td.author{border-top: #8ECA56 solid 4px !Important}

/* TinyMCE skin */
#forum .defaultSkin .mceIframeContainer {border: 2px dotted #999 !Important; display: block;}

#newTopic{
    float: right;
    right: 0px;
    top: 5px;
    width: 270px;
    background-image: url("/css/uForumImages/add.png") !important;
    background-position: 10px 7px !important;
    margin-bottom: 10px;
}

#forum .infoBox {
    background: no-repeat rgb(221, 248, 204);
    font-size: 11px;
    height: 35px;
    min-height: 35px;
    padding: 7px 7px 7px 50px;
}


]]>
      </Content>
    </Stylesheet>
  </Stylesheets>
  <Macros>
    <macro>
      <name>uForum-CommentsList</name>
      <alias>uForum-CommentsList</alias>
      <scriptType>
      </scriptType>
      <scriptAssembly>
      </scriptAssembly>
      <xslt>uForum-CommentsList.xslt</xslt>
      <useInEditor>False</useInEditor>
      <refreshRate>0</refreshRate>
      <scriptingFile>
      </scriptingFile>
      <properties />
    </macro>
    <macro>
      <name>uForum-Overview</name>
      <alias>uForum-Overview</alias>
      <scriptType>
      </scriptType>
      <scriptAssembly>
      </scriptAssembly>
      <xslt>uForum-Overview.xslt</xslt>
      <useInEditor>False</useInEditor>
      <refreshRate>0</refreshRate>
      <scriptingFile>
      </scriptingFile>
      <properties />
    </macro>
    <macro>
      <name>uForum-RegisterCSS</name>
      <alias>uForum-RegisterCSS</alias>
      <scriptType>
      </scriptType>
      <scriptAssembly>
      </scriptAssembly>
      <xslt>uForum-RegisterCSS.xslt</xslt>
      <useInEditor>False</useInEditor>
      <refreshRate>0</refreshRate>
      <scriptingFile>
      </scriptingFile>
      <properties />
    </macro>
    <macro>
      <name>uForum-TopicsList</name>
      <alias>uForum-TopicsList</alias>
      <scriptType>
      </scriptType>
      <scriptAssembly>
      </scriptAssembly>
      <xslt>uForum-TopicsList.xslt</xslt>
      <useInEditor>False</useInEditor>
      <refreshRate>0</refreshRate>
      <scriptingFile>
      </scriptingFile>
      <properties />
    </macro>
  </Macros>
  <DictionaryItems />
  <Languages />
  <DataTypes />
  <control>/usercontrols/uForum/DBInstaller.ascx</control>
  <Actions>
    <Action runat="install" alias="addXsltExtension" assembly="uForum" type="uForum.Library.Xslt" extensionAlias="uForum" />
    <Action runat="install" alias="addXsltExtension" assembly="uForum" type="uForum.Library.RawXml" extensionAlias="uForum.raw" />
    <Action runat="install" alias="uForum_Add404Handler" assembly="uForum" type="SearchForTopic" />
    <Action runat="install" alias="uForum_AddRestExtension">
      <ext assembly="uForum" type="uForum.Library.Rest" alias="uForum">
        <permission method="NewTopic" allowAll="true" />
        <permission method="NewComment" allowAll="true" />
        <permission method="DeleteComment" allowAll="true" />
        <permission method="DeleteTopic" allowAll="true" />
      </ext>
    </Action>
  </Actions>
</umbPackage>